package com.better.mongodb.test;

import com.better.common.mongo.model.BaseModel;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @author
 * @create 2017-09-11 15:45
 **/
@Document()
public class UserEntity extends BaseModel implements Serializable {
    private static final long serialVersionUID = -3258839839160856613L;
    private String userName;
    private String passWord;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }
}
